package com.ebt.m.customer.model;

import com.ebt.m.customer.net.json.CustomerTapeJson;

/**
 * Created by Rick.Wang on 2016/6/7.
 */
public class CustomerTapeJsonWrapper {
    public enum State {
        ORIGINAL, DELETE, ADD
    }

    private State mState = State.ORIGINAL;
    private CustomerTapeJson mTape;

    public CustomerTapeJsonWrapper(CustomerTapeJson tape, State state) {
        mTape = tape;
        mState = state;
    }

    public State getState() {
        return mState;
    }

    public void setState(State state) {
        mState = state;
    }

    public CustomerTapeJson getTape() {
        return mTape;
    }

    @Override
    public String toString() {
        return "[CustomerTapeJsonWrapper: " + mTape + " State:" + mState.toString() + " ]";
    }
}
